package com.ailk.bi.cq.cqbiaudit.auditMap.services

import groovy.util.logging.Slf4j
import groovy.xml.MarkupBuilder

import org.springframework.stereotype.Service

import com.ailk.bi.cq.cqbiaudit.vo.ResultVO

@Slf4j
@Service
class AuditMapService {
	ResultVO getSampleData(){
		def writer = new StringWriter()
		def xml = new MarkupBuilder(writer)
		xml.result(){
			data(data1:"信用控制异常",data2:"45",data3:"33")
			data(data1:"销帐控制异常",data2:"99",data3:"55")
		}
		ResultVO result = new ResultVO(xmlString:writer.toString(), success:true)
		log.info("" + result)
		result
	}
}
